@font-face {
    font-family: 'icomoon';
    src: url('../assets/fonts/icomoon.eot?pjsjp3');
    src: url('../assets/fonts/icomoon.eot?pjsjp3#iefix') format('embedded-opentype'), url('../assets/fonts/icomoon.ttf?pjsjp3') format('truetype'), url('../assets/fonts/icomoon.woff?pjsjp3') format('woff'), url('../assets/fonts/icomoon.svg?pjsjp3#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^='icon-'], [class*=' icon-'] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@function unicode($str){
    @return unquote('\'') + unquote(str-insert($str, '\\', 1)) + unquote('\'');
}

$icons: (
    bs-arrow:       'e900',
    bs-pushpin:     'e901',
    bs-time:        'e902',
    bs-calendar:    'e903',
    bs-Chain:       'e904',
    bs-FlatTire:    'e905',
    bs-Fork:        'e906',
    bs-Handlebar:   'e907',
    bs-Pedals:      'e908',
    bs-history:     'e909',
    bs-reports:     'e90a',
    bs-Stolen:      'e90b'
);

@each $key, $value in $icons {
    .ion-ios-#{$key}:before,
    .ion-ios-#{$key}-outline:before,
    .ion-md-#{$key}:before,
    .ion-wp-#{$key}:before {
        content: unicode($value);
        padding-right: .5rem;
    }
}
